#ifndef WEB_MONITOR_DIALOG_H
#define WEB_MONITOR_DIALOG_H
#include <wx/dialog.h>
#include <wx/textctrl.h>
#include <string>
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <wx/button.h>
#include <fstream>

class WebMonitorDialog : public wxDialog
{
public:
    WebMonitorDialog(wxWindow* parent);
    std::string GetIPAddress();
    std::string GetPort();
    std::string GetDeviceName();
private:
    wxTextCtrl* txtIPAddress;
    wxTextCtrl* txtPort;
    wxTextCtrl* txtDeviceName;
    wxButton* btnSaveSetting;
    wxButton* btnCancel;

    void on_btnSaveSetting_click(wxCommandEvent& event);
    void on_btnCancel_click(wxCommandEvent& event);
};

enum class WebMonitorDialogID
{
    btnSaveSetting,
    btnCancel
};

#endif